package cn.rjtraining.util;

public class SystemContext {
//	public static int offset=0;
//	public static int pageSize=2;
	private static ThreadLocal offset=new ThreadLocal();
	private static ThreadLocal pageSize=new ThreadLocal();
	
	public static void setOffset(int _offset){
		offset.set(_offset);
	}
	public static int getOffset(){
		return (Integer)offset.get();
	}
	public static void setPageSize(int _pageSize) {
		pageSize.set(_pageSize);
	}
	public static int getPageSize(){
		return (Integer)pageSize.get();
	}
}
